<?php
namespace app\backend\validate;

use think\Validate;

class Brand extends Validate
{

    protected $rule =   [
        'brand_name_cn'              => 'require'
    ];

    protected $message  =   [
        'brand_name_cn.require'      => '标题格式不正确'
    ];

    protected $scene = [
        'add' => ['brand_name_cn'],
        'edit' => ['brand_name_cn']
    ];
}


